

            function addArduinoCod (Blockly) {
            
                        
                        
                        
                        

                        
        Blockly.Arduino['EXT_TM1650_BLOCK_1607910642880'] = function(block)
        {
            
          
            Blockly.Arduino.definitions_['include_EXT_TM1650_BLOCK_1607910642880'] = `\n#include "TM1650.h"`;
            Blockly.Arduino.definitions_['define_EXT_TM1650_BLOCK_1607910642880'] = `TM1650 tm_4display;`;
            Blockly.Arduino.definitions_['setup_EXT_TM1650_BLOCK_1607910642880'] = `Wire.begin();\r\n  tm_4display.init();`;
             return  `tm_4display.displayOn();\r\n`;
        }
                    

                        
        Blockly.Arduino['EXT_TM1650_BLOCK_1607910643004'] = function(block)
        {
            let character_string = Blockly.Arduino.valueToCode(this, 'character_string', Blockly.Arduino.ORDER_ATOMIC).replace(/'/g, '"') ;
          
            Blockly.Arduino.definitions_['include_EXT_TM1650_BLOCK_1607910643004'] = ``;
            Blockly.Arduino.definitions_['define_EXT_TM1650_BLOCK_1607910643004'] = ``;
            Blockly.Arduino.definitions_['setup_EXT_TM1650_BLOCK_1607910643004'] = ``;
             return  `tm_4display.displayString(${character_string});\r\n`;
        }
                    

                        
        Blockly.Arduino['EXT_TM1650_BLOCK_1607910643123'] = function(block)
        {
            let tm_dot = this.getFieldValue('tm_dot');
let btn = this.getFieldValue('btn');
          
            Blockly.Arduino.definitions_['include_EXT_TM1650_BLOCK_1607910643123'] = ``;
            Blockly.Arduino.definitions_['define_EXT_TM1650_BLOCK_1607910643123'] = ``;
            Blockly.Arduino.definitions_['setup_EXT_TM1650_BLOCK_1607910643123'] = ``;
             return  `tm_4display.setDot(${tm_dot},${btn});\r\n`;
        }
                    

                        
        Blockly.Arduino['EXT_TM1650_BLOCK_1607910643273'] = function(block)
        {
            let tm_status = this.getFieldValue('tm_status');
          
            Blockly.Arduino.definitions_['include_EXT_TM1650_BLOCK_1607910643273'] = ``;
            Blockly.Arduino.definitions_['define_EXT_TM1650_BLOCK_1607910643273'] = ``;
            Blockly.Arduino.definitions_['setup_EXT_TM1650_BLOCK_1607910643273'] = ``;
             return  `tm_4display.${tm_status}();\r\n`;
        }
                    
            return Blockly;
            }

            module.exports = addArduinoCod ;

        